<div class="zs-body" data-ng-init="formInitAll();setConHei();setTab('cms_document', 'sy');">
    <div class="zs-map-tool">
        <div class="location">
            <a >首页</a>
			<i class="right-arr"></i>
			<a >内容管理</a>
			<i class="right-arr"></i>
			<a >文档管理</a>
        </div>
        <div class="option">
        	<input type="button" class="zs-btn orange" value="新建"
				ng-click="addNewDoc()" />
			
			<input type="button" class="zs-btn orange" value="删除 " 
				ng-click="delEntitys('cms_document')"/>
			<input type="button" class="zs-btn orange" value="评论审核"  ng-show="tabs['cms_document'].tabClass['plds']"
				ng-click="editRow('cms_document',cms_document_plds.sRows[0]) && openWindow('edit_plsp')"/>	
			
        </div>
    </div>
    <div class="zs-tree">
        <div class="zs-nice-tab idTabs">
            <div class="tool item" style="margin-left:6px;">
                <span class="search-warpper" style="width:230px">
                    
						
					<ag-Combotree class="zs-input" style="width:230px;height: 28px" 
                    	placeholder="所属站点"
						para="{ uDictionary:true,
								dictionary:'cms_site',
								pidField:'pid',
        						leafField:'leaf'}"
						ng-model="cms_document.queryObject['siteId']"/>	
						
						
                </span>
            </div>
        </div>
        <div data-ng-init="iniTab('datatab', 'column', 'selected');">
        	<div class="zs-itab" style="margin:0px 10px">
				<div class="zs-itab-title">
					<ul class="idTabs">
						<li><a ng-click="setTab('datatab', 'column');" >栏目分类</a></li>
						
					</ul>
				</div>
			</div>

			<div class="zs-itab" ng-show="tabs['datatab'].tabShow['column']">
				<ag-Tree
					fn='column'
					para="{ uDictionary:true,   
							dictionary:'cms_column',
							checkbox:false,
							pidField:'pid',
							leafField:'leaf',
							queryObject:{pid:1},
							pfn:'site'}"		
					onselect="cmsColumnSearch"
					ng-model='o'/>
			</div>
        </div>
   </div>
    <div class="zs-content withTree" style="position:unset">
    	<!--查询栏-->
        <div ag-include src="'module/cms/content/documentSearch.html'" show="true"></div>
           
        <div class="zs-itab" style="margin:0px 10px">
			<div class="zs-itab-title">
				<ul class="idTabs">
					<li><a ng-click="setTab('cms_document', 'sy');" class="{{tabs['cms_document'].tabClass['sy']}}">
							所有（<label ng-bind="cms_document.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','cg')" class="{{tabs['cms_document'].tabClass['cg']}}">
							草稿（<label ng-bind="cms_document_cg.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','tg');" class="{{tabs['cms_document'].tabClass['tg']}}">
							投稿（<label ng-bind="cms_document_tg.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','ds')" class="{{tabs['cms_document'].tabClass['ds']}}">
							待审（<label ng-bind="cms_document_ds.rowsCount"></label>）</a></li>		
					<li>
						<a ng-click="setTab('cms_document','dfb')" class="{{tabs['cms_document'].tabClass['dfb']}}">
							待发布（<label ng-bind="cms_document_dfb.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','yfb')" class="{{tabs['cms_document'].tabClass['yfb']}}">
							已发布（<label ng-bind="cms_document_yfb.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','gq')" class="{{tabs['cms_document'].tabClass['gq']}}">
							过期（<label ng-bind="cms_document_gq.rowsCount"></label>）</a></li>
					<li>
						<a ng-click="setTab('cms_document','tuig')" class="{{tabs['cms_document'].tabClass['tuig']}}">
							退稿（<label ng-bind="cms_document_tuig.rowsCount"></label>）</a></li>
					<!--<li>
						<a ng-click="setTab('cms_document','plds')" class="{{tabs['cms_document'].tabClass['plds']}}">
							评论待审（<label ng-bind="cms_document_plds.rowsCount"></label>）</a></li>-->
			</div>
		</div>
        
       <!--主页展示页面 -->
        <div ag-include src="'module/cms/content/documentShow.html'" show="true"></div>
        
		<!--各种文章录入页面-->
        <div ag-include src="'module/cms/content/document_news.html'" show="true"></div>
        <div ag-include src="'module/cms/content/document_image.html'" show="true"></div>
        <div ag-include src="'module/cms/content/document_file.html'" show="true"></div>
        <div ag-include src="'module/cms/content/document_videos.html'" show="true"></div>
		<div ag-include src="'module/cms/content/document_products.html'" show="true"></div>
		<div ag-include src="'module/cms/content/document_recruit.html'" show="true"></div>
		<div ag-include src="'module/cms/content/document_pdf.html'" show="true"></div>
		<div ag-include src="'module/cms/content/document_notice.html'" show="true"></div>
    </div>
</div>